package com.qf.service;

import com.qf.pojo.User;

import java.util.List;

public interface UserService {
    //查找用户名
    User findByUsername(String username);
    //注册
    boolean register(User user);

    User findByUserAndPwd(String username,String password);

    void deleteUser(int id);

    List<User> searchUser(String username, String gender);

    List<User> getAllNumbers();

    User findUser(int uid);
}
